
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<!--[if IE 8 ]><html dir="ltr" lang="zh_cn" class="ie8"><![endif]-->
<!--[if IE 9 ]><html dir="ltr" lang="zh_cn" class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir="ltr" lang="zh_cn">
<!--<![endif]-->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>推广联盟信息</title>
<!-- <base href="../../mobile/index.html" /> -->

<!-- Facebook share -->
<meta property="og:site_name" content="PHP 开源电商系统 - 成都光大网络科技" />
<meta property="og:url" content="../../mobile/index.htmlindex.php?route=account/affiliate/add" />
<meta property="og:type" content="website" />
<meta property="og:title" content="推广联盟信息" />
<meta property="og:description" content="" />
<meta property="og:image" content="../../image/logo-600x315.png" />
<meta property="og:image:width" content="600" />
<meta property="og:image:height" content="315" />

<link href="../../javascript/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script src="../../javascript/app.js?v=c276af9139" type="text/javascript"></script>
<link href="../../image/favicon.png" rel="icon" />
<link href="../../theme/mobile/stylesheet/stylesheet.css?v=7000b9778f" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="../../src/DebugBar/Resources/vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="../../src/DebugBar/Resources/vendor/highlightjs/styles/github.css">
<link rel="stylesheet" type="text/css" href="../../src/DebugBar/Resources/debugbar.css">
<link rel="stylesheet" type="text/css" href="../../src/DebugBar/Resources/widgets.css">
<link rel="stylesheet" type="text/css" href="../../src/DebugBar/Resources/openhandler.css">
<link rel="stylesheet" type="text/css" href="../../src/DebugBar/Resources/widgets/sqlqueries/widget.css">
<script type="text/javascript" src="../../src/DebugBar/Resources/vendor/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../../src/DebugBar/Resources/vendor/highlightjs/highlight.pack.js"></script>
<script type="text/javascript" src="../../src/DebugBar/Resources/debugbar.js"></script>
<script type="text/javascript" src="../../src/DebugBar/Resources/widgets.js"></script>
<script type="text/javascript" src="../../src/DebugBar/Resources/openhandler.js"></script>
<script type="text/javascript" src="../../src/DebugBar/Resources/widgets/sqlqueries/widget.js"></script>
<script type="text/javascript">jQuery.noConflict(true);</script>

</head>
<body class="account-affiliate-add" ontouchstart="" onmouseover="">

  <div class="assist-side">
        <a class="btn-meiqia"><i class="iconfont">&#xe607;</i></a>
    <script type='text/javascript'>
      (function(m, ei, q, i, a, j, s) {
        m[i] = m[i] || function() {
          (m[i].a = m[i].a || []).push(arguments)
        };
        j = ei.createElement(q),
          s = ei.getElementsByTagName(q)[0];
        j.async = true;
        j.charset = 'UTF-8';
        j.src = 'https://static.meiqia.com/dist/meiqia.js?_=t';
        s.parentNode.insertBefore(j, s);
      })(window, document, 'script', '_MEIQIA');
      _MEIQIA('entId', '116919');
      _MEIQIA('language', 'zh');
      _MEIQIA('manualInit'); // 在这里开启手动模式
      _MEIQIA('withoutBtn'); // 不显示默认按钮
      _MEIQIA('init');

      $(document).on('click', '.btn-meiqia', function(event) {
        _MEIQIA('showPanel');
      });
    </script>
            <a href="../../mobile/index.html"><i class="iconfont">&#xe629;</i></a>
        <a href="#page-top" class="go-top"><i class="iconfont">&#xe6fe;</i></a>
  </div>

<div id="account-affiliate" class="container">
    <div class="nav-bar"></span>推广联盟信息</div>
  <div class="row widget">
    <div id="content" class="col-sm-12">
      <form action="../../mobile/affiliate/add.html" method="post" enctype="multipart/form-data" class="form-horizontal">
        <fieldset>
          <legend>我的联盟账号</legend>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-company">公司名称</label>
            <div class="col-sm-10">
              <input type="text" name="company" value="" placeholder="公司名称" id="input-company" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-website">网址</label>
            <div class="col-sm-10">
              <input type="text" name="website" value="" placeholder="网址" id="input-website" class="form-control" />
            </div>
          </div>
       </fieldset>
       <fieldset>
          <legend>支付信息</legend>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-tax">税号</label>
            <div class="col-sm-10">
              <input type="text" name="tax" value="" placeholder="税号" id="input-tax" class="form-control" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">支付方式</label>
            <div class="col-sm-10">
              <div class="radio">
                <label>                  <input type="radio" name="payment" value="cheque" checked="checked" />
                                    支票</label>
              </div>
              <div class="radio">
                <label>                  <input type="radio" name="payment" value="paypal" />
                                    PayPal</label>
              </div>
              <div class="radio">
                <label>                  <input type="radio" name="payment" value="bank" />
                                    银行转账</label>
              </div>
            </div>
          </div>
          <div class="form-group payment" id="payment-cheque">
            <label class="col-sm-2 control-label" for="input-cheque">支票受益人</label>
            <div class="col-sm-10">
              <input type="text" name="cheque" value="" placeholder="支票受益人" id="input-cheque" class="form-control" />
                          </div>
          </div>
          <div class="form-group payment" id="payment-paypal">
            <label class="col-sm-2 control-label" for="input-paypal">PayPal 邮箱地址</label>
            <div class="col-sm-10">
              <input type="text" name="paypal" value="" placeholder="PayPal 邮箱地址" id="input-paypal" class="form-control" />
                          </div>
          </div>
          <div class="payment" id="payment-bank">
            <div class="form-group">
              <label class="col-sm-2 control-label" for="input-bank-name">银行名称</label>
              <div class="col-sm-10">
                <input type="text" name="bank_name" value="" placeholder="银行名称" id="input-bank-name" class="form-control" />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-2 control-label" for="input-bank-branch-number">ABA/BSB 号码</label>
              <div class="col-sm-10">
                <input type="text" name="bank_branch_number" value="" placeholder="ABA/BSB 号码" id="input-bank-branch-number" class="form-control" />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-2 control-label" for="input-bank-swift-code">SWIFT 编号</label>
              <div class="col-sm-10">
                <input type="text" name="bank_swift_code" value="" placeholder="SWIFT 编号" id="input-bank-swift-code" class="form-control" />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-2 control-label" for="input-bank-account-name">账号名称</label>
              <div class="col-sm-10">
                <input type="text" name="bank_account_name" value="" placeholder="账号名称" id="input-bank-account-name" class="form-control" />
                              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-2 control-label" for="input-bank-account-number">账号</label>
              <div class="col-sm-10">
                <input type="text" name="bank_account_number" value="" placeholder="账号" id="input-bank-account-number" class="form-control" />
                              </div>
            </div>
          </div>
                  </fieldset>
                <div class="buttons clearfix">
          <div class="pull-right">我已阅读并同意 <a href="../../mobile/index.htmlindex.php?route=information/information/agree&amp;information_id=4" class="agree"><b>关于我们</b></a>
                        <input type="checkbox" name="agree" value="1" />
                        &nbsp;
            <input type="submit" value="提交" class="btn btn-primary" />
          </div>
        </div>
              </form>
      </div>
    </div>
</div>
<script type="text/javascript"><!--
$('input[name=\'payment\']').on('change', function() {
    $('.payment').hide();

    $('#payment-' + this.value).show();
});

$('input[name=\'payment\']:checked').trigger('change');
//--></script>
<script type="text/javascript"><!--
// Sort the custom fields
$('.form-group[data-sort]').detach().each(function() {
  if ($(this).attr('data-sort') >= 0 && $(this).attr('data-sort') <= $('.form-group').length) {
    $('.form-group').eq($(this).attr('data-sort')).before(this);
  }

  if ($(this).attr('data-sort') > $('.form-group').length) {
    $('.form-group:last').after(this);
  }

  if ($(this).attr('data-sort') == $('.form-group').length) {
    $('.form-group:last').after(this);
  }

  if ($(this).attr('data-sort') < -$('.form-group').length) {
    $('.form-group:first').before(this);
  }
});
//--></script>
<script type="text/javascript"><!--
$('button[id^=\'button-custom-field\']').on('click', function() {
  var element = this;

  $('#form-upload').remove();

  $('body').prepend('<form enctype="multipart/form-data" id="form-upload" style="display: none;"><input type="file" name="file" /></form>');

  $('#form-upload input[name=\'file\']').trigger('click');

  if (typeof timer != 'undefined') {
      clearInterval(timer);
  }

  timer = setInterval(function() {
    if ($('#form-upload input[name=\'file\']').val() != '') {
      clearInterval(timer);

      $.ajax({
        url: 'index.php?route=tool/upload',
        type: 'post',
        dataType: 'json',
        data: new FormData($('#form-upload')[0]),
        cache: false,
        contentType: false,
        processData: false,
        beforeSend: function() {
          $(element).button('loading');
        },
        complete: function() {
          $(element).button('reset');
        },
        success: function(json) {
          $(element).parent().find('.text-danger').remove();

          if (json['error']) {
            $(element).parent().find('input').after('<div class="text-danger">' + json['error'] + '</div>');
          }

          if (json['success']) {
            alert(json['success']);

            $(element).parent().find('input').val(json['code']);
          }
        },
        error: function(xhr, ajaxOptions, thrownError) {
          alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
        }
      });
    }
  }, 500);
});
//--></script>
<script type="text/javascript"><!--
$('.date').datetimepicker({
  language: 'en-gb',
  pickTime: false
});

$('.datetime').datetimepicker({
  language: 'en-gb',
  pickDate: true,
  pickTime: true
});

$('.time').datetimepicker({
  language: 'en-gb',
  pickDate: false
});
//--></script>
  <footer>
        <div class="language-currency-wrapper mb-1 mt-1">
            <a href="#" id="switch-language">
    <img src="../../image/language/zh-cn.png" alt="简体中文" title="简体中文">
    简体中文
  </a>

  <script type="text/javascript">
  $('#switch-language').click(function (e) {
    e.preventDefault();
    layer.open({
      type: 1,
      title: '语言',
      closeBtn: 1,
      anim: 2,
      shadeClose: true,
      scrollbar: false,
      area: ['80%'],
      content: language_modal_content()
    });
  });

  function language_modal_content() {
    var html = '<div class="m-2">';
        html += '<a href="../../mobile/index.htmlindex.php?route=account/affiliate/add&amp;language=zh-cn" class="list-group-item"><img src="../../image/language/zh-cn.png"/> 简体中文</a>';
        html += '<a href="../../mobile/index.htmlindex.php?route=account/affiliate/add&amp;language=en-gb" class="list-group-item"><img src="../../image/language/en-gb.png"/> English</a>';
        html += '<a href="../../mobile/index.htmlindex.php?route=account/affiliate/add&amp;language=zh-hk" class="list-group-item"><img src="../../image/language/zh-hk.png"/> 繁體中文</a>';
        html += '</div>';
    return html;
  }
  </script>

                      <a href="#" id="switch-currency">
      ￥  人民币
    </a>

  <script type="text/javascript">
  $('#switch-currency').click(function (e) {
    e.preventDefault();
    layer.open({
      type: 1,
      title: '货币',
      closeBtn: 1,
      anim: 2,
      shadeClose: true,
      scrollbar: false,
      area: ['80%'],
      content: currency_modal_content()
    });
  });

  function currency_modal_content() {
    var html = '<div class="m-2">';
        html += '<a href="../../mobile/index.htmlindex.php?route=account/affiliate/add&amp;currency=USD" class="list-group-item">$ US Dollar</a>';
        html += '<a href="../../mobile/index.htmlindex.php?route=account/affiliate/add&amp;currency=CNY" class="list-group-item">￥ 人民币</a>';
        html += '<a href="../../mobile/index.htmlindex.php?route=account/affiliate/add&amp;currency=JPY" class="list-group-item">¥ 日元 </a>';
        html += '</div>';
    return html;
  }
  </script>

    </div>
        <div class="container">
      <div class="footer-powered">
        技术支持
      </div>
    </div>
  </footer>
      <nav id="bottom-tab-menu">
      <div class="menu-item">
        <a class="" href="../../mobile/index.html">
          <i class="iconfont">&#xe669;</i>
          <div class="name">首页</div>
        </a>
      </div>
      <div class="menu-item">
        <a class="" href="../../mobile/search.html">
          <i class="iconfont">&#xe602;</i>
          <div class="name">搜索</div>
        </a>
      </div>
      <div class="menu-item">
        <a class="" href="../../mobile/categories.html">
          <i class="iconfont">&#xe61d;</i>
          <div class="name">分类</div>
        </a>
      </div>
      <div class="menu-item cart">
        <a class="" href="../../mobile/cart.html">
          <i class="iconfont"><span class="cart-total" style="display:none;"></span>&#xe660;</i>
          <div class="name">购物车</div>
        </a>
      </div>
      <div class="menu-item">
        <a class="active" href="../../mobile/account.html">
          <i class="iconfont">&#xe640;</i>
          <div class="name">会员中心</div>
        </a>
      </div>
    </nav>

</body>
</html>
